<template>
  <div class="certificate_page">
    <CommonHeader title="证书" />
    <div class="certificate_content page_no_tab_bar">
      <!-- 证书 -->
      <div class="certi_box" v-for="item in 2" :key="item">
        <!-- 证书图片 -->
        <div class="certi_img">
          <img src="@/assets/profile/settings/certificate_img.png" alt="" />
        </div>
        <!-- 证书信息 -->
        <div class="certi_info">
          <div class="certi_country">
            <span class="font_color">美国</span>
            <span class="font_color">监管中</span>
          </div>
          <div>1234585487</div>
          <div class="certi_no font_color">监管证号</div>
          <div>1234585487</div>
        </div>
        <!-- 验证按钮 -->
         <div class="operate_btn">
            <span>美国验证网</span>
            <img src="@/assets/common/go_white_icon.png" alt="" />
          </div>
      </div>
    </div>
  </div>
</template>

<script setup lang="ts">
import { ref } from "vue";
import CommonHeader from "@/components/CommonHeader.vue";
</script>

<style lang="scss" scoped>
.certificate_page {
  .certificate_content {
    padding-top: 10px;
    .certi_box {
      background-color: #141515;
      border-radius: 10px;
      padding: 20px 10px;
      margin-bottom: 20px;
      .certi_img {
        text-align: center;
        margin: 20px 0;
      }
    }
    .certi_info {
      .certi_country {
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        span {
          margin-right: 10px;
        }
       &>span:last-child {
        padding: 0 5px;
        font-size: 14px;
        border-radius: 5px;
        border: 1px solid #babcbf;
       }
      }
      .certi_no {
        margin-top: 20px;
        margin-bottom: 10px;
      }
    }
    .operate_btn {
      span {
        margin-right: 10px;
      }
    }
  }
}
</style>
